﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HowToEatMeat.Entities
{
    public class Record
    {
        /// <summary>
        /// 记录ID
        /// </summary>
        [LiteDB.BsonId]
        public LiteDB.ObjectId _id { get; set; }

        /// <summary>
        /// 数额
        /// </summary>
        [LiteDB.BsonField]
        public double Value { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [LiteDB.BsonField]
        public string Remark { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        [LiteDB.BsonField]
        public DateTime Date { get; set; }
    }
}
